/******************************************************************************/
/* action_def.h                                                               */
/******************************************************************************/

#ifndef __ACTION_DEF_H
#define __ACTION_DEF_H


/*********************** Macros & Constants for ACTION ************************/


/*********************** Prototypes & struct for ACTION ***********************/
typedef enum
{
    eACT_SEND_SMS = 0,
    eACT_WRITE_LOG,
    eACT_SEND_URGENT_PACK,
    eACT_RELAY_ON,
    eACT_RELAY_OFF
} __TYPE_ACTION;


typedef struct
{
    uint16_t type;
    __UNION_DWORD data1;
    __UNION_DWORD data2;
} __DATA_ACTION;


#pragma pack(1)
typedef struct
{
    uint16_t type;
    uint8_t num1;
    uint8_t num2;
} __SETT_ACTION;
#pragma pack()


#endif